package com.mixsmart.core.xml.sqlmap.bean;

/**
 * SQL信息
 * @author lmq
 * @version 1.0
 * @since JDK版本大于等于1.6
 * 2016年1月20日
 */
public class SqlUnit {

	private String name;
	
	/**
	 * SQL语句是否根据的参数过滤
	 */
	private boolean isFilter;
	
	private String sql;

	public SqlUnit() {
		
	}

	public SqlUnit(String name, boolean isFilter, String sql) {
		this.name = name;
		this.isFilter = isFilter;
		this.sql = sql;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public boolean isFilter() {
		return isFilter;
	}

	public void setFilter(boolean isFilter) {
		this.isFilter = isFilter;
	}

	public String getSql() {
		return sql;
	}

	public void setSql(String sql) {
		this.sql = sql;
	}
}
